package summer.codegenerator;

/**
 * 
 *
 * @author jiangz
 * @version 1.0 Created on 2019年7月29日 下午2:09:31
 */
public class Constant {

	// cookie path
	public final static String COOKIE_PATH = "/";

	// the maximum age in minutes for cookie.
	public final static Integer COOKIE_MAX_AGE = 30;

	// default characters set
	public final static String CHARACTERS_SET = "utf-8";

	// default codec
	public final static String CODEC_NAME = "AES";

	// the maximum age in minutes for user that logged in
	// USER_LOG_MAX_AGE must smaller or equals to COOKIE_MAX_AGE
	public final static Integer USER_LOG_MAX_AGE = 30;

	public final static String TOKEN_KEY = "cg_token";
}
